﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "activeinfo", DisableSyncStructure = true)]
	public partial class Activeinfo {

		/// <summary>
		/// 活动编号id    主键
		/// </summary>
		[JsonProperty, Column(Name = "aid", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int Aid { get; set; }

		/// <summary>
		/// 活动地点
		/// </summary>
		[JsonProperty, Column(Name = "aLocation", StringLength = 50)]
		public string ALocation { get; set; }

		/// <summary>
		/// 状态(0有效1无效)
		/// </summary>
		[JsonProperty, Column(Name = "astate")]
		public bool? Astate { get; set; }

		/// <summary>
		/// 活动标题
		/// </summary>
		[JsonProperty, Column(Name = "atitle", StringLength = 50)]
		public string Atitle { get; set; }

		/// <summary>
		/// 举办单位
		/// </summary>
		[JsonProperty, Column(Name = "aunit", StringLength = 50)]
		public string Aunit { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "creattime", DbType = "datetime")]
		public DateTime? Creattime { get; set; }

		/// <summary>
		/// 结束时间
		/// </summary>
		[JsonProperty, Column(Name = "endtime", DbType = "datetime")]
		public DateTime? Endtime { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		[JsonProperty, Column(Name = "isdelete")]
		public bool? Isdelete { get; set; }

		/// <summary>
		/// 开始时间
		/// </summary>
		[JsonProperty, Column(Name = "starttime", DbType = "datetime")]
		public DateTime? Starttime { get; set; }

	}

}
